#---------------------------------------------------------------------------
# 20130824 timeline tool
#---------------------------------------------------------------------------

include ../../../config.mk

MODULE = timeline
TARGET = ${TARGET_BIN}/${MODULE}

#define pass to source file
TOOL_NAME = test

HEADERS = -I$(GCC_HEADER) -I. -I$(SRC_HEADER)

LIBS = -L$(GCC_LIB) -L$(TARGET_LIB) -L. -lpthread -lstdc++ -linfrastr


OBJS =	timeline.o \
	tm_processor.o	

all : ${TARGET}

${TARGET} : $(OBJS)
	$(GCC) ${CFLAGS} -o $(TARGET) $(OBJS) $(LIBS)
	cp $(TARGET) .

.cpp.o :
	$(GCC) $(CFLAGS) -c -Wno-deprecated -DTOOL_NAME=\"$(TOOL_NAME)\" $< -o $@ $(HEADERS)

clean:	
	rm -f $(OBJS)
